<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml"> 
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
		<title>FMT-Commerce</title>
		<?php echo $this->headLink()->appendStylesheet(HOME.'css/style.css') ?>
		<?php echo $this->headLink()->appendStylesheet(HOME.'js/lib/lightbox/css/jquery.lightbox-0.5.css') ?>
		<script src="<?=HOME . 'js/lib/jquery/jquery-1.3.2.min.js'?>"></script>
		<script src="<?=HOME . 'js/lib/lightbox/js/jquery.lightbox-0.5.min.js'?>"></script>
		<script src="<?=HOME . 'js/script.js'?>"></script>
	</head>
	<body>
		<div class="div_principal">
			<div class="div_topo">
				<h1>fmtCommerce</h1>
				<a href="<?=$this->url(array('controller'=>'carrinho','action'=>'visualizar'),'default',true)?>">Meu Carrinho</a>
				<form	method="get"
						name="frmSearch"
						action="<?=$this->url(array('controller'=>'busca','action'=>'search'),'default',true)?>">
					<label>Busca</label>
					<input type="text" name="q" />
					<a href="#" onclick="actionPost('frmSearch');">Ok</a>
				</form>
				<a href="<?=$this->url(array('controller'=>'cliente','action'=>'cadastro'),'default',true)?>">Cadastre-se</a>
			</div>
			<div class="div_conteudo">
				<div class="div_menu">
					<?=$this->partial('menu.phtml')?>
				</div>
				<div class="div_paginas">
					<?php echo $this->layout()->content ?>
				</div>
				<br class="clearAll"/>
			</div>
			<div class="div_rodape">
				<span>Rodape da pagina</span>
			</div>
		</div>
	</body>
</html>